

def circle_area_and_circumference(radius):
    pi = 3.14
    area = pi * radius ** 2
    circumference = 2 * pi * radius
    return area,circumference

## 交互式输入
radius = float(input("请输入圆的半径: "))
area,circumference = circle_area_and_circumference(radius)

print(f"圆的面积是：{area:.2f}")
print(f"圆的周长是：{circumference:.2f}")

